package com.wyp.demo.pattern.event;

/**
 * @author: Oliver
 * @time: 2020/12/11/21:38
 * 事件监听器
 */
public class SingleEventListener implements EventListener {
    @Override
    public void listener(Event event) {
        if ("single".equals(event.getType()))
            System.out.println("单机触发");
    }
}
